export class BaseView{
    protected node: cc.Node;
    public constructor(node: cc.Node){
        this.node = node;
    }

    public show(): void{
        this.node.active = true;
    }

    public hide(): void{
        this.node.active = false;
    }
}